#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
void Reverse(char* str)
{
    char* left = str;
    char* right = str + strlen(str) - 1;
    while (left < right)

    {
        char temp = *left;
        *left = *right;
        *right = temp;
        ++left;
        --right;
    }
}

int main()
{
    char str[] = "hello bit";
    Reverse(str);
    printf("%s\n", str);
    return 0;
}


